﻿<!doctype html>
<html lang="en">
<head>
    <title>Tree - Drag & Drop</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="Drag&Drop" />
    <meta name="keywords" content="" />
    <meta name="author" content="ComponentOne" />
    <link href="../base-reset.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/Aristo/jquery-ui-1.8.4.custom.css" rel="stylesheet"
        type="text/css" />
    <link href="../demos-single.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/wijmo/jquery.wijmo-open.0.8.2.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/wijmo/jquery.ui.wijtree.css" rel="stylesheet" type="text/css" />
    <script src="../../external/jquery-1.4.3.min.js" type="text/javascript"></script>
    <script src="../../external/jquery-ui-1.8.6.custom.min.js" type="text/javascript"></script>
    <script src="../../external/jquery.wijmo-open.0.8.2.min.js" type="text/javascript"></script>
    <script src="../../Wijmo/jquery.ui.wijtree.js" type="text/javascript"></script>
    <script id="scriptInit" type="text/javascript">
        $(document).ready(function () {
            var tv = $("#tree1").wijtree({ allowDrop: true, allowDrag: true });
            $("#tree2").wijtree({ allowDrop: true, allowDrag: false });
        });       
    </script>
</head>
<body class="demo-single">
    <div class="container">
        <div class="header">
            <h2>
                Drag & Drop</h2>
        </div>
        <div class="main demo">
            <!-- Begin demo markup -->
            <div>
                <ul id="tree1">
                    <li><a><span>Folder 1</span></a>
                        <ul>
                            <li><a><span>Folder 1.1</span></a></li>
                            <li><a><span>Folder 1.2</span></a></li>
                            <li><a><span>Folder 1.3</span></a></li>
                            <li><a><span>Folder 1.4</span></a></li>
                            <li><a><span>Folder 1.5</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#"><span>Folder 2</span></a>
                        <ul>
                            <li><a><span>Folder 2.1</span></a></li>
                            <li><a><span>Folder 2.2</span></a></li>
                            <li><a><span>Folder 2.3</span></a></li>
                            <li><a><span>Folder 2.4</span></a></li>
                            <li><a><span>Folder 2.5</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#"><span>Folder 3</span></a>
                        <ul>
                            <li><a><span>Folder 3.1</span></a></li>
                            <li><a><span>Folder 3.2</span></a></li>
                            <li><a><span>Folder 3.3</span></a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <p>
                Between 2 trees</p>
            <div>
                <ul id="tree2">
                    <li><a><span>Folder 4</span></a>
                        <ul>
                            <li><a><span>Folder 4.1</span></a></li>
                            <li><a><span>Folder 4.2</span></a></li>
                            <li><a><span>Folder 4.3</span></a></li>
                            <li><a><span>Folder 4.4</span></a></li>
                            <li><a><span>Folder 4.5</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#"><span>Folder 5</span></a>
                        <ul>
                            <li><a><span>Folder 5.1</span></a></li>
                            <li><a><span>Folder 5.2</span></a></li>
                            <li><a><span>Folder 5.3</span></a></li>
                            <li><a><span>Folder 5.4</span></a></li>
                            <li><a><span>Folder 5.5</span></a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <!-- End demo markup -->
        </div>
        <div class="footer demo-description">

        </div>
    </div>
</body>
</html>
